enum PlayStatus{OPEN,CLOSED}


interface User{
    name:string;
    age:number;
}

type UserKeys = keyof User;
type Test = 'name'|'age';

function getUserProp(user:User, prop:keyof User){
    return user[prop];
}

const cc = getUserProp({name:'dlj',age:20}, 'age')
type C = typeof cc;
type C1 = keyof any;


const cccc:Record<string,number>={

}